<?php


namespace app\common\model;

use think\Model;

class ReturnlistModel extends Model
{
    protected $name = 'returnlist';

    public function getDeliveryTypeAttr($value,$data)
    {
        $arr = [
            '0' => '自取',
            '1' => '快递',
        ];
        return $arr[$data['delivery_type']];
    }


}